package vip.liux.contracts.repositories.messaging;

import org.springframework.data.repository.ListCrudRepository;
import vip.liux.contracts.models.notification.MessageTemplate;

import java.util.List;

public interface MessageTemplateRepository extends ListCrudRepository<MessageTemplate, Long> {
    List<MessageTemplate> findAllByTemplateCode(String templateCode);
}